import request from "@/utils/request";

// 获取查询列表
export function getList(query) {
    return request({
        url: "/categoryView/getPage",
        method: "get",
        params:query
    });
}

// 查询信息
export function detailLs(id) {
    return request({
      url: `/earthquakeDisaster/findById?id=`+id,
      method: "get",
    });
}

// 查询信息
export function detailZh(id) {
    return request({
      url: `/historicalSeismicEvent/findById?id=`+id,
      method: "get",
    });
}